<?php
namespace app\manage\validate;
use think\Validate;
class QueryValidate extends Validate
{
     protected $rule = [
		 'name' =>  'require',
         'sex' =>  'require',
         'no' =>  'require',
         'bumen' =>  'require',
         'time' =>  'require',
         'status' =>  'require'
    ];
	 protected $message  =   [
		 'name.require' =>  '姓名 必须填写',
         'sex.require' =>  '职位 必须填写',
         'no.require' =>  '编号 必须填写',
         'bumen.require' =>  '部门 必须填写',
         'time.require' =>  '发证时间 必须填写',
         'status.require' =>  '状态 必须填写',
    ];
	protected $scene = [
        'edit'  =>  [],
    ];
}
